package com.woniu.maintain.dao;

import com.woniu.common.entity.JpMaintain;
import com.woniu.maintain.entity.JpMaintainExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;


public interface JpMaintainDao {
    long countByExample(JpMaintainExample example);

    int deleteByExample(JpMaintainExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JpMaintain record);

    int insertSelective(JpMaintain record);

    List<JpMaintain> selectByExample(JpMaintainExample example);

    JpMaintain selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JpMaintain record, @Param("example") JpMaintainExample example);

    int updateByExample(@Param("record") JpMaintain record, @Param("example") JpMaintainExample example);

    int updateByPrimaryKeySelective(JpMaintain record);

    int updateByPrimaryKey(JpMaintain record);
}